<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Booking.aspx.cs" Inherits="Website_Booking" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Book Your Appointment</title>
</head>
<body>
    <form id="form1" runat="server">
        <table bgcolor="#e6e6fa" border="0" cellpadding="0" cellspacing="0" width="60%" align="center">
            <tr>
                <td bgcolor="royalblue" style="height: 21px">
                    <strong>
                        <asp:Label ID="lblApptBooking" runat="server" ForeColor="White" Text="Appointment Booking"></asp:Label></strong></td>
                <td bgcolor="royalblue" align="right">
                    <asp:Button ID="btnProfile" runat="server" OnClick="btnProfile_Click" Text="Back to Profile" /></td>
            </tr>
            <tr>
                <td>
                    <asp:Calendar ID="clndrDate" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="206px" NextPrevFormat="ShortMonth" Width="287px">
                        <SelectedDayStyle BackColor="#333399" ForeColor="White" />
                        <TodayDayStyle BackColor="#999999" ForeColor="White" />
                        <OtherMonthDayStyle ForeColor="#999999" />
                        <DayStyle BackColor="#CCCCCC" />
                        <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
                        <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
                        <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt"
                            ForeColor="White" Height="12pt" />
                    </asp:Calendar>
                </td>
                <td>
                    <asp:Table ID="tblRMTSched" runat="server" BorderColor="Gray" CellPadding="0" CellSpacing="0"
                        GridLines="Both" Visible="False">
                    </asp:Table>
                </td>
            </tr>
            <tr>
                <td>
        Select Therapist:
        <asp:DropDownList ID="dlstRMT" runat="server" OnSelectedIndexChanged="dlstRMT_SelectedIndexChanged" AutoPostBack="True"><asp:ListItem></asp:ListItem>
        </asp:DropDownList></td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
        Select Therapy Type:
        <asp:DropDownList ID="dlstTherapy" runat="server" OnSelectedIndexChanged="dlstTherapy_SelectedIndexChanged" AutoPostBack="True">
            <asp:ListItem></asp:ListItem>
        </asp:DropDownList>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Room:
                    <asp:DropDownList ID="dlstRoomName" runat="server"><asp:ListItem>North</asp:ListItem>
                        <asp:ListItem>South</asp:ListItem>
                    </asp:DropDownList></td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
        Enter start time:
        <asp:DropDownList ID="dlstStartTime_hours" runat="server" ></asp:DropDownList>:
        <asp:DropDownList ID="dlstStartTime_minutes" runat="server" >
        </asp:DropDownList>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
        Appointment length:
        <asp:RadioButtonList ID="rbtnAppDuration" runat="server" OnSelectedIndexChanged="rbtnAppDuration_SelectedIndexChanged" AutoPostBack="True"></asp:RadioButtonList></td>
                <td>
        </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblFail" runat="server" ForeColor="Red" Text="The requested appointment could not be booked, please try again!"
                        Visible="False" Width="409px"></asp:Label></td>
                <td style="width: 329px; height: 21px" align="right">
        <asp:Button ID="cmdAppointment" runat="server" Text="Request Appointment" OnClick="cmdAppointment_Click" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
